package com.shelpe.services.sinbad.repository.mongo;

import java.util.Date;

import org.springframework.data.repository.CrudRepository;

import com.shelpe.services.sinbad.entity.mongo.BalanceRtr;

public interface BalanceRtrRepository extends CrudRepository<BalanceRtr, String> {

	BalanceRtr findByUserID(long userID, Date date);

	BalanceRtr findByUserIDAndDateGreaterThan(long userID,Date date);
}
